package com.yunxun.coinmessage.service;

import com.yunxun.coinmessage.dao.TypeDictDao;
import com.yunxun.coinmessage.entity.TypeDict;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TypeDictService {
    @Autowired
    TypeDictDao typeDictDao;
    public List<TypeDict> findAll(){
          return typeDictDao.findAll();
    }
    public TypeDict QueryById(Integer tid){
        return typeDictDao.queryById(tid);
    }
}
